<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>04-Vue指令体验</title>

    <style>

    </style>

</head>
<body>

<div id="app">
    <!-- vue 指令：以 v- 为前缀的特殊 标签属性 -->
    <!-- v-html : 和 innerHtml 作用类似 -->
    <div v-html="msg"></div>
</div>

<script src="vue.js"></script>

<script>
    const app = new Vue({
        el: "#app",
        data: {
            msg: `
            <h3>Hello Vue</h3>
        `
        }
    });

</script>
</body>
</html>